class CreateOrganizations < ActiveRecord::Migration
  def self.up
    create_table :organizations do |t|
      t.column :user_id, :integer
      t.column :russian_title, :string
      t.column :foreign_title, :string
      t.column :phone, :string
      t.column :fax, :string
      t.column :email, :string
      t.column :url, :string
      t.column :place, :string
    end
  end

  def self.down
    drop_table :organizations
  end
end
